// pages/news/index.js
const app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    swiperList: [{
      id: 0,
      type: 'image',
      url: 'cloud://partybuilding-ap3rs.7061-partybuilding-ap3rs-1301916504/newSwiper/0.png'
    }, {
      id: 1,
      type: 'image',
        url: 'cloud://partybuilding-ap3rs.7061-partybuilding-ap3rs-1301916504/newSwiper/2.png',
    }, {
      id: 2,
      type: 'image',
        url: 'cloud://partybuilding-ap3rs.7061-partybuilding-ap3rs-1301916504/newSwiper/3.png'
    }, {
      id: 3,
      type: 'image',
        url: 'cloud://partybuilding-ap3rs.7061-partybuilding-ap3rs-1301916504/newSwiper/4.png'
    }, {
      id: 4,
      type: 'image',
        url: 'cloud://partybuilding-ap3rs.7061-partybuilding-ap3rs-1301916504/newSwiper/5.png'
    }],
    topLLL: app.globalData.StatusBar,
    topKKK: app.globalData.screenHeight
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    // wx.setNavigationBarColor({
    //   frontColor: "#000000"
    // })
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})